package com.smartleanx.module.hrm.service.esign.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smartleanx.module.hrm.dal.mysql.esign.HrmEFileMapper;
import com.smartleanx.module.hrm.service.esign.service.HrmEFileService;
import com.smartleanx.module.hrm.service.esign.temp.po.HrmEFile;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * e签宝模板底稿文件Service实现
 *
 * @author xzq
 * @since 2025-07-07 16:47:05
 */
@Service
public class HrmEFileServiceImpl extends ServiceImpl<HrmEFileMapper, HrmEFile> implements HrmEFileService {


    @Override
    public List<HrmEFile> getFileByFileIds(List<Long> ids) {
        return list(new LambdaQueryWrapper<HrmEFile>()
        .eq(HrmEFile::getDataStatus,1)
        .in(HrmEFile::getId,ids));
    }
}
